#include <stdio.h>

void print3()
{
	printf("Hello print3\n");
}
void print2()
{
	printf("Hello print2\n");
	print3();
}
void print1()
{
	printf("Hello print1\n");
	print2();
}
int GetToTop(int top)
{
	int res=0;
	int i=1;
	for(;i<=top;i++)
	{
		res+=i;
	}
	return res;
}
int main()
{
	printf("debug begin\n");		
	int sum=0;
	int top=100;
	sum=GetToTop(top);
	printf("sum=%d\n",sum);
	printf("debug end\n");
	print1();
	return 0;
}
